package com.foryou.wechat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Lee.
 */
@Data
@TableName("v_shoot")
@NoArgsConstructor
public class ShootEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private int type;
    private String requirement;
    private int chargingModel;
    private String region;
    private String shootTime;
    private String shootAddress;
    private String shootFile;
    private String subjectIds;
    private Long userId;
    private String price;
    private String score;
    private int auditStatus;


    public ShootEntity(int type, String requirement, int chargingModel, String region, String shootTime, String shootAddress, String shootFile, String subjectIds, Long userId, String price) {
        this.type = type;
        this.requirement = requirement;
        this.chargingModel = chargingModel;
        this.region = region;
        this.shootTime = shootTime;
        this.shootAddress = shootAddress;
        this.shootFile = shootFile;
        this.subjectIds = subjectIds;
        this.userId = userId;
        this.price = price;
    }
}
